﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="menulist.ascx.cs" Inherits="Com.Web.coffinegurunaru.menu.usercontrol.menulist" %>

 <table width="98%" border="0" cellspacing="0" cellpadding="0">
   <tr>
<% for (int i = 0; i < this.MenuList.Count; i++) { %>
    <td width="257"><!--리스트 -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="125"><img src="<%=this.MenuList[i].SmallImageURL %>" width="125" height="125"></td>
          <td><table width="95%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td valign="bottom" class="menu_tit_gray"><%=this.MenuList[i].EngName %></td>
            </tr>
            <tr>
              <td height="28" valign="top" class="menu_stit_gray"><%=this.MenuList[i].KorName %></td>
            </tr>
            <tr>
              <td class="small_gray">
				<%=Server.HtmlEncode(this.MenuList[i].Description).Replace("\n", "<br />") %>
              </td>
            </tr>
          </table></td>
        </tr>
      </table>
    </td>
<% if ( ( i + 1 ) % 3 == 0) {%>
  </tr>
<% if ( i != 8 ) { %>
  <tr>
	<td style="height:30px;" colspan="3">&nbsp;</td>
  </tr>
<% } %>
<% } %>
<% } %>
<% if ( this.MenuList.Count % 3 != 0 ) { %>
<%	for ( int i = this.MenuList.Count % 3; i < 3; i ++ ) {  %>
	  <td width="257">&nbsp;</td>
<% } %>
   </tr>
<% } %>
</table>
